package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author colin
 * @since 2021-10-12
 */
public interface UserMapper extends BaseMapper<User> {

    void deleteAllUser();

    void insertBatch(@Param("list") List<User> userList);

    int insertSingle(User user);

}
